home *** CD-ROM | disk | FTP | other *** search
/ OpenGL Superbible (2nd Edition) / OpenGL SuperBible e2.iso / tools / GLUT-3.7 / PROGS / Makefile.sgi < prev    next >
Encoding:
Makefile  |  1998-08-12  |  967 b   |  31 lines

  1. #! smake
  2. #
  3. # Copyright (c) Mark J. Kilgard, 1995.
  4. #
  5. include $(ROOT)/usr/include/make/commondefs
  6.  
  7. TOP = ..
  8.  
  9. # $(TOP)/Fortran.mk should contain the line "FORTRAN = fortran" if
  10. # the Fortran GLUT examples are to be built.  Note:  This requires
  11. # IRIX 5.3 and the SGI Fortran compiler and OpenGL Fortran libraries
  12. # installed.
  13. sinclude $(TOP)/Fortran.mk
  14.  
  15. # $(TOP)/Inventor.mk should contain the line "INVENTOR = inventor" if
  16. # the Open Inventor GLUT examples are to be built.  Note:  This
  17. # requires Open Inventor and a C++ compiler (ie, the inventor_dev
  18. # and c++_dev products) to be installed.
  19. sinclude $(TOP)/Inventor.mk
  20.  
  21. # XXX Keep next line as a single physical line for mkfiles/progs_Makefile
  22. SUBDIRS = examples redbook demos contrib advanced mesademos sgi-stereo texfont perf_harness mui gle gameglut bucciarelli advanced97 spheremap $(FORTRAN) $(INVENTOR)
  23.  
  24. default $(COMMONTARGS): $(_FORCE)
  25.     $(SUBDIRS_MAKERULE)
  26.  
  27. $(SUBDIRS): $(_FORCE)
  28.     cd $@; $(MAKE)
  29.  
  30. $(_FORCE):
  31.